import {
    createApp
} from 'vue'
import App from './App.vue'
let app = createApp(App)

// 引入路由并使用
import router from "./router"

// 引入echarts(export | export deafult)
import * as echarts from "echarts"
// 使用依赖注入全局使用echarts
app.provide('echarts', echarts)

// 引入axios
import api from "./serve/config.js"
app.provide('api', api)

// 引入基础样式实现100%布局
import "./assets/css/reset.css"

app.use(router).mount('#app')